<!DOCTYPE html>
<html lang="en">

<head>
  @@include('./meta.html',{})
</head>

<body class="app-component">
  @@include('./header.html',{
  "components": "active"
  })
  <div class="component-wrapper">
    <div class="component-navleft">
      @@include('./navleft.html',{
      "tab_chart": "active"
      })
    </div><!-- component-navleft -->

    <div class="component-sidebar">
      @@include('./sidebar.html',{
      "tab_chart": "active",
      "chart_js": "active",
      "urlPrefix": "."
      })
    </div><!-- component-sidebar -->

    <div class="component-content">
      <div class="component-content-header">
        <nav aria-label="breadcrumb">
          <ol class="breadcrumb breadcrumb-style1 mg-b-0">
            <li class="breadcrumb-item"><a href="#">Components</a></li>
            <li class="breadcrumb-item"><a href="#">Charts</a></li>
            <li class="breadcrumb-item active" aria-current="page">ChartJS</li>
          </ol>
        </nav>
        <a href="javascript:;" id="componentOptions" class="text-secondary mg-l-auto d-xl-none"><i data-feather="more-horizontal"></i></a>
      </div><!-- component-content-header -->

      <div class="component-content-body" data-spy="scroll" data-target="#navSection" data-offset="120">
        <div class="content content-components">
          <div class="container">
            <!--sd-->
            <h1 class="td-title">Chartjs Charts</h1>
            <p class="td-lead">Simple yet flexible JavaScript charting for designers & developers. Read the <a href="https://www.chartjs.org/docs/latest/" target="_blank">Official Chartjs Documentation</a> for a full list of instructions and other options.</p>

            <hr class="mg-y-40">

            <h4 id="section1" class="mg-b-10">Bar Chart</h4>
            <p class="mg-b-30">Below is a basic bar chart implementation that you can use.</p>

            <div data-label="Example" class="td-example">
              <div class="ht-250 ht-lg-300"><canvas id="chartBar1"></canvas></div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section2" class="mg-b-10">Horizontal Chart</h4>
            <p class="mg-b-30">Below is the horizontal bar chart example.</p>

            <div data-label="Example" class="td-example">
              <div class="ht-250 ht-lg-300"><canvas id="chartBar2"></canvas></div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section3" class="mg-b-10">Stacked Chart</h4>
            <p class="mg-b-30">Below is the stacked bar chart example.</p>

            <div data-label="Example" class="td-example">
              <div class="ht-250 ht-lg-300"><canvas id="chartBar3"></canvas></div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section4" class="mg-b-10">Line Chart</h4>
            <p class="mg-b-30">Below is the line chart example.</p>

            <div data-label="Example" class="td-example">
              <div class="ht-250 ht-lg-300"><canvas id="chartLine1"></canvas></div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section5" class="mg-b-10">Area Chart</h4>
            <p class="mg-b-30">Below is the area chart example.</p>

            <div data-label="Example" class="td-example">
              <div class="ht-250 ht-lg-300"><canvas id="chartArea1"></canvas></div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section6" class="mg-b-10">With Transparency</h4>
            <p class="mg-b-30">Below is the bar chart example with transparency of the bar.</p>

            <div data-label="Example" class="td-example">
              <div class="ht-250 ht-lg-300"><canvas id="chartBar4"></canvas></div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section7" class="mg-b-10">With Gradient</h4>
            <p class="mg-b-30">Below is the bar chart example with gradient effect of the bar.</p>

            <div data-label="Example" class="td-example">
              <div class="ht-250 ht-lg-300"><canvas id="chartBar5"></canvas></div>
            </div><!-- td-example -->

            <hr class="mg-y-50 mg-b-40">

            <h4 id="section8" class="mg-b-10">Pie and Donut Chart</h4>
            <p class="mg-b-30">Below are an example of data in a pie and donut chart.</p>

            <div data-label="Example" class="td-example">
              <div class="d-md-flex">
                <div class="ht-250 mg-b-20 mg-md-b-0 mg-md-r-30 mg-xl-r-40"><canvas id="chartPie"></canvas></div>
                <div class="ht-250"><canvas id="chartDonut"></canvas></div>
              </div>
            </div><!-- td-example -->
            @@include('./footer.html',{})
            <!-- content-footer -->
          </div>
        </div>
      </div><!-- component-content-body -->

      <div class="component-content-sidebar section-nav">
        <label class="tx-10 tx-medium tx-spacing-1 tx-color-03 tx-uppercase tx-sans mg-b-15">On This Page</label>
        <nav id="navSection" class="nav flex-column">
          <a href="#section1" class="nav-link">Bar Chart</a>
          <a href="#section2" class="nav-link">Horizontal Chart</a>
          <a href="#section3" class="nav-link">Stacked Chart</a>
          <a href="#section4" class="nav-link">Line Chart</a>
          <a href="#section5" class="nav-link">Area Chart</a>
          <a href="#section6" class="nav-link">With Transparency</a>
          <a href="#section7" class="nav-link">With Gradient</a>
          <a href="#section8" class="nav-link">Pie and Donut</a>
        </nav>
      </div><!-- component-content-sidebar -->
    </div><!-- component-content -->

  </div><!-- component-wrapper -->

  @@include('./_script.html',{})

  <script src="../lib/chart.js/Chart.bundle.min.js"></script>
  <script src="../assets/js/chart.chartjs.js"></script>
  
  <script>
    $(function () {
      'use strict'
    });
  </script>
</body>

</html>